project
open fun project(coordinate: Point, zoomScale: Double): MercatorCoordinate
Content copied to clipboard
Calculate a point on the map in Mercator Projection for a givencoordinate at the specified zoom scale.
Return
Returns a point on the map in Mercator projection.
Parameters
coordinate
The longitude-latitude pair for which to return the value.
zoomScale
The current zoom factor (2 ^ Zoom level) applied on the map, is used tocalculate the world size as tileSize * zoomScale (i.e., 512 * 2 ^ Zoom level)where tileSize is the width of a tile in pixels.